<?php
/**
 * Created by PhpStorm.
 * User: wumengmeng <wu_mengmeng@foxmail.com>
 * Date: 2019/4/26 0026
 * Time: 14:35
 */

namespace HiCommon\Service;

use HiCommon\Repository\PlatformBusinessAgreementRepository;

class PlatformBusinessAgreementService extends BaseService
{

    public function api_list($arr_input){
        return PlatformBusinessAgreementRepository::get_all()->toarray();
    }

    public function api_detail($n_id){
        return PlatformBusinessAgreementRepository::get_one($n_id)->toarray();
    }
}